package com.yc.supermarket.service;


import com.yc.supermarket.entity.Admin;
import com.yc.supermarket.vo.ResultVO;

import java.util.Map;

public interface IAdminBiz {
    /**
     * 添加
     * */
    int add(Admin admin);
     /**
      * 分页
      * */
     Map<String,Object> findPage(Admin admin, Integer pageNum, Integer pageSize);
    /**
     * 不分页
     * */
    ResultVO find(Admin admin);
    /**
     * 登入
     * */
    ResultVO login(Admin admin);
    ResultVO updateState(Admin admin);
}
